package com.cdivtc.shiro.company;

import java.util.ArrayList;
import java.util.List;

public class Player {
    //玩家属性
    private int id; //玩家id
    private String name;

    private List<Puke> pokers;  //玩家手中的牌，用集合存放

    //构造方法
    public Player(int id,String name){
        this.id=id;
        this.name=name;
        this.pokers=new ArrayList<Puke>();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Puke> getPuke() {
        return pokers;
    }

    public void setPuke(List<Puke> pokers) {
        this.pokers = pokers;
    }


}
